<?php
/**
 * 应用系统菜单角色关联视图
 * @author tangbl
 * 
 */
class MenuRoleViewModel extends ViewModel {
	
	public $viewFields = array(
			
     'AdminMenu'=>array(
     		
     		'*',
     		'_as'  => 'menu',
     		'_type'=> 'left',
      ),
			
     'AdminMenuAccess'=>array(
     		
     		'role_id' => 'role',
     		'_as'     => 'role',
     		'_on'     => 'menu.id=role.menu_id'
     	)
   );
	
}
?>